package com.taowan.xunbaozl.morning_speak.design_pattern.pre;

/**
 * Created by 杨观回 on 2016/2/29 0029.
 */
public abstract class DecoratorComponet implements IComponent {

    private IComponent component;

    public DecoratorComponet(IComponent component) {
        this.component = component;
    }

    @Override
    public void operation() {
        this.component.operation();
    }
}
